package com.ruoyi.bizsys.domain;

import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 授权标识对象 credit_flag
 *
 * @author african-loan
 * @date 2021-12-30
 */

@Data
public class CreditFlag extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 流水号
     */

    @Excel(name = "流水号")
    private String serialNo;


    /**
     * 客户号 客户授信信息7天内有效
     */

    @Excel(name = "客户号 客户授信信息7天内有效")
    private String custNo;


    /**
     * 关联流水号
     */

    @Excel(name = "关联流水号")
    private String relationNo;


    /**
     * 类型
     */

    @Excel(name = "类型")
    private String type;


    /**
     * 订单是否已创建
     */

    @Excel(name = "订单是否已创建")
    private Integer orderFlag;


    /**
     * 设备信息标识
     */

    @Excel(name = "设备信息标识")
    private Integer deviceFlag;


    /**
     * appList标识
     */

    @Excel(name = "appList标识")
    private Integer appsFlag;


    /**
     * 通讯录标识
     */

    @Excel(name = "通讯录标识")
    private Integer contactsFlag;


    /**
     * 日历标识
     */

    @Excel(name = "日历标识")
    private Integer calendarFlag;

    @Excel(name = "通讯录关联流水号")
    private String contactsRelationNo;

    @Excel(name = "app关联流水号")
    private String appRelationNo;

    /**
     * 状态
     */

    @Excel(name = "状态")
    private String status;


    /**
     * 修改时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "状态", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    /**
     * 创建时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "状态", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}